package com.chezhujie.www.persistence;

import com.chezhujie.www.domain.Czjcommoditytype;

import java.util.List;
import java.util.Map;

/**
* 商品类型表
* Created by 汤伟杰 on 2017/5/23.
 */
public interface CzjcommoditytypeMapper extends BaseMapper<Czjcommoditytype>{
    void insert(Czjcommoditytype czjcommoditytype);
    void update(Czjcommoditytype czjcommoditytype);
    void deleteById(String id);
    void deleteByIds(List<String> list);
    Czjcommoditytype queryById(String id);
    List<Czjcommoditytype> queryByIds(List<String> list);
    int getTotalRows(Map<String, Object> param);
    List<Map<String,Object>> getList(Map<String, Object> param);
    List<Map<String,Object>> listSupId(Map<String, Object> param);

    List<Map<String,Object>> getListByHasCommodity();
}
